<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>

<h1>首页</h1>


<h4>primitive</h4>
<ul>
    <li> <a href="/primitive">primitive</a> </li>
    <li> <a href="/primitive/junjun">primitive(junjun)</a> </li>
    <li> <a href="/first">first</a> </li>
    <li> <a href="/first/boyfriend">first(boyfriend)</a> </li>
</ul>


<h4>universal</h4>
<ul>
    <li> <a href="/universal">universal</a> </li>
    <li> <a href="/universal/haha">universal(haha)</a> </li>
    <li> <a href="/second">second</a> </li>
    <li> <a href="/second/hehe">second(hehe)</a> </li>
</ul>

<h4>dispatch</h4>
<ul>
    <li> <a href="/dispatch">dispatch</a> </li>
    <li> <a href="/dispatch/haha">dispatch(haha)</a> </li>
    <li> <a href="/third">third</a> </li>
    <li> <a href="/third/hehe">third(hehe)</a> </li>
    <li>
        <!-- action 属性用于指定将表单数据提交给哪个程序，这里可以指定 servlet 的 url-pattern -->
        <!-- method 用于指定表单的提交方式，在浏览器中 其取值可以是 GET 或 POST ，默认值是 GET -->
        <form action="/dispatch" method="get" >
            <input type="text" name="email">
            <button type="submit">提交</button>
        </form>
    </li>
    <li>
        <form action="/dispatch" method="post" >
            <input type="text" name="email">
            <button type="submit">提交</button>
        </form>
    </li>
</ul>

</body>
</html>